{% extends "../base.html" %}

{% block title %} {{entry.title}} {% endblock title %}

{% block content %}
<div id="split">
<h2>{{entry.title}}</h2>

<div class="ctop"><a href="/blog/edit/{{entry.bid}}">{{message.blog_edit}}</a></div>
<div class="space"></div>
<div class="cbottom"></div>
<div id="post-{{entry.key}}">
{{entry.content}}
</div>
<div class="cbottom"></div>
<div>
Tags: {%for tag in entry.tags%}<a href="/blog/tag/{{tag}}">{{tag}}</a> {%endfor%}<br><br>
</div>
<div>
{{message.blog_num}} : {{entry.times}}
</div>
<!-- Include the Google Friend Connect javascript library. -->
<script type="text/javascript" src="http://www.google.com/friendconnect/script/friendconnect.js"></script>
<!-- Define the div tag where the gadget will be inserted. -->
<div id="div-1301884812118267298" style="width:500px;border:1px solid #cccccc;"></div>
<!-- Render the gadget into a div. -->
<script type="text/javascript">
var skin = {};
skin['BORDER_COLOR'] = '#cccccc';
skin['ENDCAP_BG_COLOR'] = '#e0ecff';
skin['ENDCAP_TEXT_COLOR'] = '#333333';
skin['ENDCAP_LINK_COLOR'] = '#0000cc';
skin['ALTERNATE_BG_COLOR'] = '#ffffff';
skin['CONTENT_BG_COLOR'] = '#ffffff';
skin['CONTENT_LINK_COLOR'] = '#0000cc';
skin['CONTENT_TEXT_COLOR'] = '#333333';
skin['CONTENT_SECONDARY_LINK_COLOR'] = '#7777cc';
skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666';
skin['CONTENT_HEADLINE_COLOR'] = '#333333';
skin['DEFAULT_COMMENT_TEXT'] = '- add your comment here -';
skin['HEADER_TEXT'] = 'Comments';
skin['POSTS_PER_PAGE'] = '5';
google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
google.friendconnect.container.renderWallGadget(
 { id: 'div-1301884812118267298',
   site: '{{GOOGLEFRIENDCONNECTID}}',
   'view-params':{"disableMinMax":"true","scope":"ID","allowAnonymousPost":"true","features":"video,comment","docId":"post-{{entry.key}}","startMaximized":"true"}
 },
  skin);
</script>

</div>
{% include "../sidebar.html" %}

{% endblock content %}
